﻿using Dln.Common.Helper;
using Dln.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Page_Weixin_HealthyItemPage : System.Web.UI.Page
{
    protected MessageInfo model = new MessageInfo();
    protected void Page_Load(object sender, EventArgs e)
    {
        string Id = HttpContext.Current.Request.QueryString["Id"];
        string Type = HttpContext.Current.Request.QueryString["Type"];
        if (!string.IsNullOrEmpty(Id) && !string.IsNullOrEmpty(Type))
        {
            model = SqlHelper.Context.From<MessageInfo>().Where(d => d.ID == Convert.ToInt32(Id) && d.TieltType == Type).ToFirstDefault();
        }
    }
}